namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using Xunit;

    public sealed class IAttributeDisabledFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IAttributeDisabled).IsInterface);
        }

        [Fact]
        public void IAttributeDisabled_Disabled_get()
        {
            try
            {
                bool? value = (new IAttributeDisabledDummy() as IAttributeDisabled).Disabled;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IAttributeDisabled_Disabled_set()
        {
            try
            {
                (new IAttributeDisabledDummy() as IAttributeDisabled).Disabled = true;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}